<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style>
.td_item {
	height: 30px;
	line-height: 30px;
	width: 100%;
	vertical-align: middle;
	margin: 0px;
	padding: 0px 0px 0px 0px;
	overflow: hidden;
}

.checkboxWidth {
	width: 200px;
}

.td_item_span {
	display: block;
	text-align: center;
	width: 71% !important;
}

.td_bgcolor {
	background: #FAFAFA;
}
</style>
<title>预算申请书</title>
<meta http-equiv="pragma" content="no-cache"></meta>
<meta http-equiv="cache-control" content="no-cache"></meta>
<meta http-equiv="expires" content="0"></meta>
<link href="${domainPath }/${res_app }/css/pdf.css" rel="stylesheet"
	type="text/css" />



</head>
<body>
	<c:set var="xmlstr" value="${xmlData}" />
	<x:parse xml="${xmlstr}" var="xmlData" />


	<c:set var="year"><x:out select="$xmlData/data/proposal/stat_year" /></c:set>
	<!-- 页眉 -->

	
		<span style="font-size: 18.343px;font-family: SimHei;">试制设备费预算明细表</span>
		<table  class="TblList" align="center">	
			<col width="10%" />
			<col width="25%" />
			<col width="20%" />
			<col width="20%" />
			<col width="25%" />
			<tr>
				<td align="center" class="td_bgcolor">序号</td>
				<td align="center" class="td_bgcolor">试制设备工作内容</td> 
				<td align="center" class="td_bgcolor">经费预算</td> 
		     	<td align="center" class="td_bgcolor">申请财政资助</td> 
				<td align="center" class="td_bgcolor">与项目实施关系</td> 
			</tr>
			<c:set value="0" var="index" scope="page"/>
			<x:forEach select="$xmlData/data/heisi_wangkun/list" var="list">
			
			<c:choose>
				<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
				<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
			</c:choose>
			<tr align="center">
				
				<td align="center">
					<x:out select="$list/@seq_no"/> 
				</td>
				<td>
					<x:out select="$list/content"/>
				</td>
				
				<td align="center">
					<x:out select="$list/budget"/>
				</td> 
				<td align="center">
					<x:out select="$list/application"/>
				</td>
				<td>
					<x:out select="$list/remark"/>
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page"/>
			</x:forEach>
		
			<tr align="center">
				<td colspan="2" class="td_bgcolor">合     计</td>
				<td><x:out select="$xmlData/data/heisi_wangkun_list/budget_total" /></td>
				<td><x:out select="$xmlData/data/heisi_wangkun_list/application_total" /></td>
				<td align="center">/</td>
				
			</tr>
	</table>
	<div style="page-break-after: always;">&nbsp;</div>	
	<span style="font-size: 18.343px;font-family: SimHei;">设备改造与租赁费明细表</span>
	<table  class="TblList" align="center">	
			<col width="10%" />
			<col width="25%" />
			<col width="20%" />
			<col width="20%" />
			<col width="25%" />
			
			<tr>
				<td align="center" class="td_bgcolor">序号</td>
				<td align="center" class="td_bgcolor">设备改造与租赁工作内容</td> 
				<td align="center" class="td_bgcolor">经费预算</td> 
		     	<td align="center" class="td_bgcolor">申请财政资助</td> 
				<td align="center" class="td_bgcolor">与项目实施关系</td> 
			</tr>
		
			<c:set value="0" var="index" scope="page"/>
			<x:forEach select="$xmlData/data/transformation_lease/list" var="list">
		
			<c:choose>
				<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
				<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
			</c:choose>
			<tr align="center">
				
				<td align="center">
					<x:out select="$list/@seq_no"/> 
				</td>
				<td>
					<x:out select="$list/content"/>
				</td>
				
				<td align="center">
					<x:out select="$list/budget"/>
						
				</td> 
				<td align="center">
					<x:out select="$list/application"/>
				</td>
				<td>
					<x:out select="$list/remark"/>
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page"/>
			</x:forEach>
			<tr align="center">
				<td colspan="2">合     计</td>
				<td><x:out select="$xmlData/data/transformation_lease/budget_total" /></td>
				<td><x:out select="$xmlData/data/transformation_lease/application_total" /></td>
				<td align="center">/</td>
			</tr>
		
		</table>

		<div style="page-break-after: always;">&nbsp;</div>	

		<span style="font-size: 18.343px;font-family: SimHei;">化验加工费预算明细表</span>


		<table class="TblList" align="center">
			<col width="10%" />
			<col width="25%" />
			<col width="25%" />
			<col width="10%" />
			<col width="10%" />
			<col width="10%" />
			<col width="10%" />
		
			<tr>

				<td align="center" class="td_bgcolor">序号</td>
				<td align="center" class="td_bgcolor">测试化验加工的内容</td> 
				<td align="center" class="td_bgcolor">测试化验加工单位</td> 
		     	<td align="center" class="td_bgcolor">计量单位</td> 
				<td align="center" class="td_bgcolor">单价<br/>（元/单位数量）</td> 
				<td align="center" class="td_bgcolor">数量</td> 
				<td align="center" class="td_bgcolor">金额</td> 
				
			</tr>
				<c:set value="0" var="index" scope="page"/>
				<x:forEach select="$xmlData/data/assay/list" var="list">
				
				<c:choose>
					<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
					<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
				</c:choose>
				<tr align="center">
					
					<td align="center">
						<x:out select="$list/@seq_no"/>
					</td>
					<td>
						<x:out select="$list/content"/>
					</td>
					<td>
						<x:out select="$list/org"/>
					</td>
					<td>
						<x:out select="$list/measure"/>
					</td>
					<td align="center">
						<x:out select="$list/price"/>
					</td>
					<td align="center">
						<x:out select="$list/amount"/>
					</td>
					<td align="center">
						<x:out select="$list/money"/>
					</td>
					
				</tr>
				<c:set value="${index+1}" var="index" scope="page"/>
				</x:forEach>
		
				<tr align="center">
					<td colspan="2"  align="center" class="td_bgcolor">量大及价高测试化验费合计</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td align="center">
						<x:out select="$xmlData/data/proposal/expensive"/>
					</td>
					
				</tr>
				<tr align="center">
					<td colspan="2"  align="center" class="td_bgcolor">其他测试化验费</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td>
						<x:out select="$xmlData/data/proposal/other_assay"/>
					</td>
				</tr>
				<tr align="center" >
					<td colspan="2"  align="center" class="td_bgcolor">合     计</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td align="center">/</td>
					<td align="center">
						<x:out select="$xmlData/data/proposal/assay_total"/>
					</td>
					
				</tr>

			</table>	
			<div style="page-break-after: always;">&nbsp;</div>	
			<span style="font-size: 18.343px;font-family: SimHei;">承担单位研究经费支出预算明细表</span>
			<table class="TblList" align="center" >
				<col width="10%" />
				<col width="10%" />
				<col width="10%" />
				<col width="10%" />
				<col width="10%" />
				<col width="10%" />
				<col width="10%" />
				<col width="10%" />
				<col width="10%" />
				<col width="10%" />
				<tr>
					
					<td align="center" class="td_bgcolor"  rowspan="2">序号</td>
					<td align="center" class="td_bgcolor"  rowspan="2">单位名称</td> 
					<td align="center" class="td_bgcolor"  rowspan="2">组织机构代码</td> 
			
					<td align="center" class="td_bgcolor"  rowspan="2">承担单位类型</td>
					<td align="center" class="td_bgcolor"  rowspan="2">任务分工</td>
					<td align="center" class="td_bgcolor"  rowspan="2">研究任务负责人</td>  
					<td align="center" class="td_bgcolor"  rowspan="2">合计</td>
					<td align="center" class="td_bgcolor"  colspan="2">专项经费</td>  
					<td align="center" class="td_bgcolor"  rowspan="2">自筹经费</td>             
				</tr>
				<tr> 
			      <td align="center" class="td_bgcolor">小计</td>  
					<td align="center" class="td_bgcolor">其中：间接费用</td>      
				</tr>
				<c:set value="0" var="index" scope="page"/>
				<x:forEach select="$xmlData/data/undertaker/list" var="list">
				
				<c:choose>
					<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
					<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
				</c:choose>
				<tr align="center">
					
					<td align="center">
						<x:out select="$list/@seq_no"/>
					</td>
					<td>
						<x:out select="$list/name"/>
					</td>
					<td style="text-align: center;">
			        	<x:out select="$list/org_code"/>
		         </td>
		         <td>
		         	<x:out select="$list/org_type_name" />
		         </td>
		         <td style="text-align: center;">
			        <x:out select="$list/division"/>
		         </td>
		          <td style="text-align: center;">
			         <x:out select="$list/division_psn"/>
		         </td>
		         
					<td>
						<x:out select="$list/total"/>
					</td> 
					<td>
						<x:out select="$list/special_fund"/>
					</td> 
					<td>
						<x:out select="$list/special_indirect"/>
					</td> 
					<td>
						<x:out select="$list/self_fund"/>
					</td> 
				</tr>
				<c:set value="${index+1}" var="index" scope="page"/>
				</x:forEach>
				
				<tr align="center"  >
					<td colspan="6" class="td_bgcolor" >合     计</td>
					<td>
						<x:out select="$xmlData/data/proposal/undertaker_total"/>
					</td>
					<td>
						<x:out select="$xmlData/data/proposal/special_fund_total"/>
					</td>
					<td>
						<x:out select="$xmlData/data/proposal/special_indirect"/>
					</td>
					<td>
						<x:out select="$xmlData/data/proposal/self_fund"/>
					</td>
					
				</tr>
		
			
			</table> 				

<p style="page-break-after: always">&nbsp;</p>
	
</body>

</html>
